const exp = require('express');

const path = require('path');

const app = exp()

app.listen(80)

app.use(exp.static(path.resolve(__dirname,'./public')))

app.get('/list',(req,res)=>{
    // res.sendFile(__dirname+'/15-静态文件和服务端文件区别.html');

    res.sendFile(path.resolve(__dirname,'../练习/15-静态文件和服务端文件区别.html'))

})